import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);
// 全局注册Breadcrumb组件
import Breadcrumb from "./components/Breadcrumb";
Vue.component('Breadcrumb', Breadcrumb)
import { createSvg } from "./utils/createSvg";
Vue.prototype.$createSvg = createSvg;

require("./mock/index");

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
